package creation.builder;

public class HouseDirector {
    private HouseBuilder builder;

    public HouseDirector(HouseBuilder builder) {
        this.builder = builder;
    }

    //指挥 建造流程
    House buildHouse(){
        builder.buildBasic();
        builder.buildWall();
        builder.buildRoof();
        return builder.getHouse();
    }
}
